package com.smart.five.ioc.annotation.scope;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;

/**
 * @author junrui.wang
 * @create 2018/6/14
 */
@Scope("prototype") //显式指定bean的作用范围
@Component
public class Car {

}
